package com.fr.plugin.customloginpage.service;

import com.fr.decision.fun.impl.AbstractURLAliasProvider;
import com.fr.decision.webservice.url.alias.URLAlias;
import com.fr.decision.webservice.url.alias.URLAliasFactory;

public class ConfigURLAliasProvider extends AbstractURLAliasProvider {
    @Override
    public URLAlias[] registerAlias() {
        return new URLAlias[]{
                URLAliasFactory.createPluginAlias(ConfigGetHttpHandler.GET_PATH, "/getConfig", true),
                URLAliasFactory.createPluginAlias(ConfigSaveHttpHandler.SAVE_PATH, "/saveConfig", true)
        };
    }
}